package com.xxh.securitydemo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xxh.securitydemo.dao.UmsResourceDao;
import com.xxh.securitydemo.model.UmsResource;
import com.xxh.securitydemo.service.UmsResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsResourceImpl implements UmsResourceService {

    @Autowired
    UmsResourceDao umsResourceDao;


    @Override
    public List<UmsResource> loadResourceByUserID(Long uid) {
       return umsResourceDao.getResourceByUid(uid);

    }
}
